﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using YoProgramo.Domain.Core.Entities;

namespace YoProgramo.Domain.Core.Interfaces
{
    public interface IStory : IDomainObj<long> {
        string Title {
            get;
            set;
        }

        string HtmlBody {
            get;
            set;
        }


        //Plain text (Markdown Format)
        string TextBody {
            get;
            set;
        }


        ICategory Category {
            get;
            set;
        }

        IList<Tag> Tags {
            get;
            set;
        }

        IList<Comment> Comments {
            get;
            set;
        }


        IUser ByUser {
            get;
            set;
        }

        string FromIPAddress {
            get;
            set;
        }

        DateTime? ApprovedAt {
            get;
            set;
        }

        DateTime PostedAt {
            get;
            set;
        }

        DateTime? LastProcessedAt {
            get;
            set;
        }

        string Slug {
            get;
            set;
        }

        bool IsLockedOut {
            get;
            set;
        }

    }
}